package com.cheer.controller;

import com.cheer.param.ReferenceFileDownParam;
import com.cheer.security.UserInfoHolder;
import com.cheer.service.ReferenceFileService;
import com.cheer.service.ReferenceReviewLogService;
import com.cheer.vo.DocumentVO;
import com.cheer.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


/**
 * 参评日志controller
 * @author chufangzheng
 * @email 1280251739@qq.com
 * @date 2022-02-16 08:58:00
 */
@Api(tags = "ReferenceLogController", description = "参评日志")
@RestController
@RequestMapping("referenceLog")
public class ReferenceLogController {

    @Autowired
    private ReferenceReviewLogService referenceReviewLogService;

    @Autowired
    private UserInfoHolder userInfoHolder;

    @PostMapping("/log")
    @ApiOperation(value = "参评日志展示", notes="当前用户都审批过哪些集体信息等")
    public Result<DocumentVO> log() throws IOException {
        // DocumentVO documentVO = referenceReviewLogService.log(userInfoHolder.getAccountId());
        return Result.success();
    }


}
